<script setup>
import { computed, defineEmits, ref } from 'vue'
import SettingNavi from '@/components/attendanceComponents/SettingPage/SettingNavi.vue'

const emits = defineEmits(['goback'])
const goback = () => {
  emits('goback')
}
</script>

<template>
  <SettingNavi
    :iconFont="'icon-shuaxin'"
    title="需要打卡的人员"
    @pageIndexChange="goback"
  />
  <view class="container">
    <view class="sectionClass">
      <uni-section class="textClass" title="人员范围">
        <template v-slot:right>
          <view>
            <text>全部</text>
            <i class="iconfont icon-youjiantou"></i
            ></view>
        </template>
      </uni-section>
    </view>
  </view>
  <button class="buttonClass" @click="clickSave">保存</button>
</template>

<style lang="scss" scoped>
.container {
  margin: 40rpx 32rpx 0rpx 32rpx;
}

.sectionClass {
  border-radius: 16rpx;
  margin-top: 32rpx;
  overflow: hidden;
}

.textClass {
  color: #86909c;
  font-family: 'PingFang SC';
  font-size: 28rpx;
  font-style: normal;
  font-weight: 400;
  line-height: 39.2rpx;
}

.buttonClass {
  display: flex;
  width: 686rpx;
  height: 72rpx;
  justify-content: center;
  align-items: center;
  background: #165dff;
  border-radius: 16rpx;
  color: #fff;
  font-size: 32rpx;
  margin-top: 40rpx;
  overflow: hidden;
  position: fixed;
  bottom: 32rpx;
  left: 50%;
  transform: translateX(-50%);
}
</style>
